package com.heima.result;

import jakarta.servlet.http.HttpServletResponse;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListRoleResult {

    /** 查询成功返回值 */
    private String msg = "查询成功";

    /** Http状态码 */
    private Integer code = HttpServletResponse.SC_OK;

    /** 返回角色数据 */
    private List roles;

    /** 返回岗位数据，暂时为空 */
    private Object posts = null;
}
